package com.ruoyi.system.domain.honor.studentedupaper;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生优秀毕业论文对象 student_edu_paper
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public class StudentEduPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 论文标题 */
    @Excel(name = "论文标题")
    private String paperTitle;

    /** 研究方向 */
    @Excel(name = "研究方向")
    private String situation;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 学位授予时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学位授予时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eduDate;

    /** 是否涉密 */
    @Excel(name = "是否涉密")
    private String isSecret;

    /** 是否优秀论文 */
    @Excel(name = "是否优秀论文")
    private String isGood;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 学位论文原文电子版（pdf格式） */
    @Excel(name = "学位论文原文电子版", readConverterExp = "p=df格式")
    private String attachmentUrl;

    /** 下达文件 */
    @Excel(name = "下达文件")
    private String attachmentUrl1;

    /** 教师id */
    @Excel(name = "教师id")
    private String teacherId;

    /** 教师名称 */
    @Excel(name = "教师名称")
    private String teacherName;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生类别 */
    @Excel(name = "学生类别")
    private String studentType;

    /** 学号 */
    @Excel(name = "学号")
    private String studentCode;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;
    /** 当前角色 */
    private  String currentRole;
    /** 部门id */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPaperTitle(String paperTitle) 
    {
        this.paperTitle = paperTitle;
    }

    public String getPaperTitle() 
    {
        return paperTitle;
    }

    public void setSituation(String situation) 
    {
        this.situation = situation;
    }

    public String getSituation() 
    {
        return situation;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setEduDate(Date eduDate) 
    {
        this.eduDate = eduDate;
    }

    public Date getEduDate() 
    {
        return eduDate;
    }

    public void setIsSecret(String isSecret) 
    {
        this.isSecret = isSecret;
    }

    public String getIsSecret() 
    {
        return isSecret;
    }

    public void setIsGood(String isGood) 
    {
        this.isGood = isGood;
    }

    public String getIsGood() 
    {
        return isGood;
    }

    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }

    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }

    public void setAttachmentUrl1(String attachmentUrl1) 
    {
        this.attachmentUrl1 = attachmentUrl1;
    }

    public String getAttachmentUrl1() 
    {
        return attachmentUrl1;
    }

    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setStudentType(String studentType) 
    {
        this.studentType = studentType;
    }

    public String getStudentType() 
    {
        return studentType;
    }

    public void setStudentCode(String studentCode) 
    {
        this.studentCode = studentCode;
    }

    public String getStudentCode() 
    {
        return studentCode;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("paperTitle", getPaperTitle())
            .append("situation", getSituation())
            .append("birthday", getBirthday())
            .append("eduDate", getEduDate())
            .append("isSecret", getIsSecret())
            .append("isGood", getIsGood())
            .append("year", getYear())
            .append("attachmentUrl", getAttachmentUrl())
            .append("attachmentUrl1", getAttachmentUrl1())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("studentName", getStudentName())
            .append("studentType", getStudentType())
            .append("studentCode", getStudentCode())
            .append("sex", getSex())
            .toString();
    }

    public String getCurrentRole() {
        return currentRole;
    }

    public void setCurrentRole(String currentRole) {
        this.currentRole = currentRole;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}
